<html>
<head>
 <title>{WS_SITENAME} :: <?= USER_ACCESS >= ADMIN ? (_("[index]Admin CP")." :: ") : (USER_ACCESS == MANAGER ? (_("[index]Manager CP")." :: "):"")?>{INDEX_TITLE}</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <link rel="stylesheet" type="text/css" href="<?=STATICURL?>/css/dobovo.css" />
 <link href="<?=STATICURL?>/css/admin/admin.css" type="text/css" rel="stylesheet" />
<?php if (file_exists(WWWROOT.'/../public_html/css/admin/'.CMD.'.css')): ?>
 <link rel="stylesheet" type="text/css" href="<?=STATICURL?>/css/admin/<?=CMD?>.css" />
<?php endif; ?>
 <!--[if IE]>
	<link rel="stylesheet" type="text/css" href="<?=STATICURL?>/css/front/all-ie-only.css" />
 <![endif]-->
 <script src="<?=STATICURL?>/js/libs/JSCookMenu.js" type="text/javascript"></script>
 <link rel="stylesheet" href="<?=STATICURL?>/css/theme.css" type="text/css">
 <link href="<?=STATICURL?>/js/libs/jquery.datepick.package-4.0.4/redmond.datepick.css" type="text/css" rel="stylesheet">
 <script type="text/javascript" src="<?=STATICURL?>/js/libs/jquery_1_4_3.min.js"></script>
 <script type="text/javascript" src="<?=STATICURL?>/js/libs/jquery.datepick.package-4.0.4/jquery.datepick.pack.js"></script>
 <script type="text/javascript">
 var DOBOVO = {};
 DOBOVO.SCRIPTURL = '{SCRIPTURL}';
 DOBOVO.STATICURL = '<?=STATICURL?>';
 </script>
 <script src="<?=STATICURL?>/js/libs/theme.js" type="text/javascript"></script>
 <script type="text/javascript" src="<?=STATICURL?>/js/dobovo.js"></script>
 <script type="text/javascript">
$.datepick.setDefaults({
	showAnim: '',
	pickerClass: 'calpicker',
	dateFormat: 'yyyy-mm-dd',
	yearRange: 'c-1:c+1'
}); 
 </script>
<script type="text/javascript" src="<?=STATICURL?>/js/libs/jquery.colorbox-min.js"></script>
</head>
<body>
 <div style="float: right; width: 166px; padding: 5px 5px 0 0"><div id="langmenu">{INDEX_LANG}</div></div>
 <a name="top"></a>
 <table width="1000" height="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#ffffff">
  <tr>
   <td height="100"><div class="mainPanAdmin"><a href="{SCRIPTURL}"><img src="<?=STATICURL?>/img/static/logo.png" width="221px" height="120px" alt="logo" title="logo" border="0px" /></a></div></td>
  </tr>
  <tr height="1" bgcolor="{WS_COLOR3}">
   <td></td>
  </tr>
  <tr>
   <td><div class="b" style="margin:5;">{WS_SITENAME} :: <?= USER_ACCESS >= ADMIN ? (_("[index]Admin CP")." :: ") : (USER_ACCESS == MANAGER ? (_("[index]Manager CP")." :: "):"")?>{INDEX_TITLE}</div></td>
  </tr>
  <tr height="1" bgcolor="{WS_COLOR3}">
   <td></td>
  </tr>
  <tr>
   <td height="100%">
    <table width="100%" height="100%" cellspacing="0" cellpadding="0" align="center">
     <tr valign="top">
      <td width="180" style="border-right:{WS_COLOR3} 1px solid;">{INDEX_MENU}</td>
      <td align="center"><br>{INDEX_CONTENT}<br></td>
     </tr>
    </table>
   </td>
  </tr>
  <tr height="1" bgcolor="{WS_COLOR3}">
   <td></td>
  </tr>
  <tr align="right">
   <td><div class="small" style="margin:5;">Copyright &copy;{INDEX_DATE} {WS_SITENAME}. <?=_("[index]All rights reserved.")?></div></td>
  </tr>
 </table>
</body>
</html>